package cn.bone.search.bean;


import io.searchbox.annotations.JestId;

import java.util.Date;

/**
 * Created by superbone on 2017/3/13.
 */
public class NewsDo {

    @JestId
    private String id;
    private String title;
    private String link;
    private String description;
    private String content;
    private Date pubDate;
    private String type;        //类型(news:新闻...)
    private Integer detailId;    //对应类型的实际id


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getLink() {
        return link;
    }
    public void setLink(String link) {
        this.link = link;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getPubDate() {
        return pubDate;
    }
    public void setPubDate(Date pubDate) {
        this.pubDate = pubDate;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getDetailId() {
        return detailId;
    }

    public void setDetailId(Integer detailId) {
        this.detailId = detailId;
    }
}
